package net.oschina.allchat.protocol.core.stream.error;

import net.oschina.allchat.protocol.core.LangText;

public class BadFormat extends StreamError {
	public BadFormat() {
		this(null);
	}
	
	public BadFormat(String text) {
		super("bad-format");
		if (text != null) {
			setText(new LangText(text));
		}
	}
}
